<?php
/* Cliente Fixture generated on: 2011-03-09 16:03:15 : 1299710295 */
class ClienteFixture extends CakeTestFixture {
	var $name = 'Cliente';

	var $fields = array(
		'id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 10, 'key' => 'primary'),
		'identificacion_tipo_id' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 2, 'key' => 'index'),
		'identificacion_numero' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 20, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'primer_nombre' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 20, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'segundo_nombre' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 20, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'primer_apellido' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 20, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'segundo_apellido' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 20, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'nombre_juridico' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 120, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'fecha_nacimiento' => array('type' => 'date', 'null' => false, 'default' => NULL),
		'fecha_constitucion' => array('type' => 'date', 'null' => false, 'default' => NULL),
		'email' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 100, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'estado' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 2, 'comment' => 'Aun no definido'),
		'sexo' => array('type' => 'integer', 'null' => false, 'default' => NULL, 'length' => 1, 'comment' => '1->hombre, 2-> mujer'),
		'created' => array('type' => 'date', 'null' => true, 'default' => NULL),
		'creado_por' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 10, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'modified' => array('type' => 'date', 'null' => true, 'default' => NULL),
		'modificado_por' => array('type' => 'string', 'null' => true, 'default' => NULL, 'length' => 10, 'collate' => 'latin1_spanish_ci', 'charset' => 'latin1'),
		'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1), 'UK_identificacion_numero' => array('column' => array('identificacion_tipo_id', 'identificacion_numero'), 'unique' => 0)),
		'tableParameters' => array('charset' => 'latin1', 'collate' => 'latin1_spanish_ci', 'engine' => 'InnoDB')
	);

	var $records = array(
		array(
			'id' => 1,
			'identificacion_tipo_id' => 1,
			'identificacion_numero' => 'Lorem ipsum dolor ',
			'primer_nombre' => 'Lorem ipsum dolor ',
			'segundo_nombre' => 'Lorem ipsum dolor ',
			'primer_apellido' => 'Lorem ipsum dolor ',
			'segundo_apellido' => 'Lorem ipsum dolor ',
			'nombre_juridico' => 'Lorem ipsum dolor sit amet',
			'fecha_nacimiento' => '2011-03-09',
			'fecha_constitucion' => '2011-03-09',
			'email' => 'Lorem ipsum dolor sit amet',
			'estado' => 1,
			'sexo' => 1,
			'created' => '2011-03-09',
			'creado_por' => 'Lorem ip',
			'modified' => '2011-03-09',
			'modificado_por' => 'Lorem ip'
		),
	);
}
?>